
<%= simple_form_for [:admin, @user], :html => {:class => "form-horizontal"} do |f| %>

  <%= f.input :login %>
  <%= f.input :name %>
  <%= f.input :password, :placeholder => "至少 6 位" %>
  <%= f.input :password_confirmation %>

  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <%= f.button :submit, :value => "保存" %>
    </div>
  </div>
  
<% end %>